<?php

require_once ('CoreTag.php');

class Caption extends CoreTagWithLang {
	
	protected $align;
	
	public function __construct() {
		parent::__construct ("caption");
		$this->align="";
		$this->attributeNames=array_merge($this->attributeNames,array('align'));
		$this->attributeValues=array_merge($this->attributeValues,array(''));
	}
	
	public function setAlign($_align)
	{
		$this->align=(string)$_align;
		$this->setAttribute('align',$_align);
	}
	
	public function getAlign()
	{
		return $this->align;
	}
}

?>